import { RoutesAlias } from '@/router/routesAlias'
import { AppRouteRecord } from '@/types/router'

const meta = {}

const pre = 'gongYiGuanLi/peiMianGuanLi-'

export default {
  path: '/gongYiGuanLi/peiMianGuanLi',
  name: 'gongYiGuanLi',
  redirect: {
    name: `${pre}yuanMianGuanLi`
  },
  meta: { ...meta, title: '配棉管理' },
  component: RoutesAlias.Home,
  children: [
    {
      path: 'yuanLiaoGuanLi',
      name: '63100',
      meta: {
        ...meta,
        title: '原料管理'
      }
      // component: () => import('@/pages/gongYiGuanLi/peiMianGuanLi/yuanLiaoGuanLi')
    },
    {
      path: 'peiMianGuanLi',
      name: '63200',
      meta: {
        ...meta,
        title: '配棉管理'
      }
      // component: () => import('@/pages/gongYiGuanLi/peiMianGuanLi/peiMianGuanLi')
    }
    // {
    //     path: 'mianHuaZhongLei',
    //     name: `${pre}mianHuaZhongLei`,
    //     meta: {
    //         ...meta,
    //         title: '配棉管理'
    //     },
    //     // component: () => import('@/pages/gongYiGuanLi/peiMianGuanLi/mianHuaZhongLei')
    // },
  ]
} as AppRouteRecord
